package com.sinosoft.tcmemr.dao;

import com.sinosoft.tcmemr.entity.PrescriptionEntity;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PrescriptionEntityMapper {
    int countByExample(PrescriptionEntity example);

    int deleteByExample(PrescriptionEntity example);

    int deleteByPrimaryKey(Integer id);

    int insert(PrescriptionEntity record);

    int insertSelective(PrescriptionEntity record);

    List<PrescriptionEntity> selectByExample(PrescriptionEntity example);

    PrescriptionEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PrescriptionEntity record, @Param("example") PrescriptionEntity example);

    int updateByExample(@Param("record") PrescriptionEntity record, @Param("example") PrescriptionEntity example);

    int updateByPrimaryKeySelective(PrescriptionEntity record);

    int updateByPrimaryKey(PrescriptionEntity record);
}